﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ButtonAnimation : MonoBehaviour {


	// Use this for initialization
	void Start () {
		
	}

    void OnMouseDown()
    {
        transform.localPosition -= new Vector3(0, 0, 0.5f);
    }

    void OnMouseUp()
    {
        transform.localPosition += new Vector3(0, 0, 0.5f);
    }
}
